﻿@model ErrorViewModel
@{
    ViewData["Title"] = "系统错误";
}

<h1 class="text-danger">发生错误</h1>
@if (Model.Exception != null)
{
    <p><strong>错误信息:</strong> @Model.Exception.Message</p>
    <p><strong>堆栈跟踪:</strong> @Model.Exception.StackTrace</p>
}
<p>请求ID: @Model.RequestId</p>